1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 13:29:22 +00:00

Return conversation ID with message

This commit is contained in:
Pierre HUBERT 2020-04-01 14:16:26 +02:00
parent fab2231ace
commit 561226f43b

View File

@ -381,6 +381,7 @@ export class ConversationsController {
public static ConversationMessageToAPI(c: ConversationMessage) : any { public static ConversationMessageToAPI(c: ConversationMessage) : any {
return { return {
ID: c.id, ID: c.id,
convID: c.convID,
ID_user: c.userID, ID_user: c.userID,
time_insert: c.timeSent, time_insert: c.timeSent,
message: c.message, message: c.message,