added models Thread and ThreadFiles in thread plugin
This commit is contained in:
@@ -452,8 +452,8 @@ void thread_sort_tab_last_item_date_modification_nice(Info & i)
|
||||
{
|
||||
Thread & thread = thread_info.thread_tab[thread_index];
|
||||
|
||||
if( thread.last_item_id != -1 )
|
||||
print_date_nice(i, thread.last_item_date_modification);
|
||||
if( thread.last_item.id != -1 )
|
||||
print_date_nice(i, thread.last_item.item_content.date_modification);
|
||||
else
|
||||
print_date_nice(i, thread_info.item_sort_tab[item_sort_index]->item_content.date_modification);
|
||||
}
|
||||
@@ -469,10 +469,10 @@ void thread_sort_tab_last_item_user(Info & i)
|
||||
{
|
||||
Thread & thread = thread_info.thread_tab[thread_index];
|
||||
|
||||
if( thread.last_item_id != -1 )
|
||||
if( thread.last_item.id != -1 )
|
||||
{
|
||||
User * puser = system->users.GetUser(thread.last_item_user_id);
|
||||
print_user_name(i, puser, thread.last_item_guest_name);
|
||||
User * puser = system->users.GetUser(thread.last_item.item_content.user_id);
|
||||
print_user_name(i, puser, thread.last_item.item_content.guest_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user