Skip to content

Commit 0e93079

Browse files
committed
add messageable_type to returned messages columns
1 parent ea86a8d commit 0e93079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/Conversation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ private function getConversationMessages(Model $participant, $paginationParams,
330330
$this->tablePrefix.'message_notifications.updated_at as read_at',
331331
$this->tablePrefix.'message_notifications.deleted_at as deleted_at',
332332
$this->tablePrefix.'message_notifications.messageable_id',
333+
$this->tablePrefix.'message_notifications.messageable_type',
333334
$this->tablePrefix.'message_notifications.id as notification_id',
334335
$this->tablePrefix.'message_notifications.is_seen',
335336
$this->tablePrefix.'message_notifications.is_sender',

0 commit comments

Comments
 (0)