Releases: cmgmyr/laravel-messenger
Releases · cmgmyr/laravel-messenger
2.13.3
2.13.2
2.13.1
2.13
Models/Thread.php
Fixed
- internal functionality of
participantsUserIds()
,isUnread()
,participantsString()
, anduserUnreadMessages()
. fixes #154, #159
Traits/Messagable.php
Fixed
- internal functionality of
threadsWithNewMessages()
, andnewThreadsCount()
Examples
Changed
- all view files (blade syntax)
Tests
Added
- added additional test coverage to
EloquentThreadTest.php
andMessagableTraitTest.php
2.12
Models/Thread.php
Changed
- refactored the use of
lists()
topluck()
- renamed
addParticipants()
toaddParticipant()
. This now can take a single id, an array, or multiple ids as arguments
Added
removeParticipant()
which also can take a single id, an array, or multiple ids as arguments
Traits/Messagable.php
Changed
- refactored the use of
lists()
topluck()
Migrations
- removed
2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php
and2014_11_20_131739_alter_last_read_in_participants_table.php
in favor of adjusting2014_10_28_180224_create_participants_table.php
, fixes #57
Examples
Changed
MessagesController.php
unread-count.blade.php