fix expand + requery

This commit is contained in:
Mike Schwörer 2018-11-25 21:03:05 +01:00
parent b12356575a
commit 4a07e58c16
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ api_return(200,
'body' => $msg['content'], 'body' => $msg['content'],
'trimmed' => false, 'trimmed' => false,
'priority' => $msg['priority'], 'priority' => $msg['priority'],
'timestamp' => strtotime($msg['timestamp']), 'timestamp' => $msg['sendtime'],
'usr_msg_id' => $msg['usr_message_id'], 'usr_msg_id' => $msg['usr_message_id'],
'scn_msg_id' => $msg['scn_message_id'], 'scn_msg_id' => $msg['scn_message_id'],
], ],

View File

@ -41,7 +41,7 @@ foreach ($nonacks_sql as $nack)
'title' => $nack['title'], 'title' => $nack['title'],
'body' => $nack['content'], 'body' => $nack['content'],
'priority' => $nack['priority'], 'priority' => $nack['priority'],
'timestamp' => strtotime($nack['timestamp']), 'timestamp' => $nack['sendtime'],
'usr_msg_id' => $nack['usr_message_id'], 'usr_msg_id' => $nack['usr_message_id'],
'scn_msg_id' => $nack['scn_message_id'], 'scn_msg_id' => $nack['scn_message_id'],
]; ];