Skip to content

Commit 6e84df8

Browse files
committed
Reload conversation object to ensure firstMessageID is set correctly
1 parent 9a5b608 commit 6e84df8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/lib/data/conversation/ConversationAction.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ public function create()
144144
);
145145
}
146146

147-
return $conversation;
147+
// Reload the object so that `firstMessageID` is set.
148+
return new Conversation($conversation->conversationID);
148149
}
149150

150151
/**

0 commit comments

Comments
 (0)