Skip to content

Commit a523040

Browse files
committed
remove order
1 parent bae3f3c commit a523040

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ParticipateToConversations.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ public function conversations(): BelongsToMany
2929
return $this->belongsToMany(config('conversations.model_conversation'))
3030
->using(config('conversations.model_conversation_user'))
3131
->withPivot(['id', 'conversation_id', 'user_id', 'muted_at', 'archived_at', 'metadata'])
32-
->withTimestamps()
33-
->orderBy('conversations.messaged_at', 'desc');
32+
->withTimestamps();
3433
}
3534

3635
public function conversationsNotMuted(): BelongsToMany

0 commit comments

Comments
 (0)