Skip to content

Cherrypick: Create NeochatRoomMember as a shim for RoomMember

James Graham requested to merge work/cherry-pick-11fd4f88 into release/24.08

The intention is that NeochatRoomMember can be created passed to QML and then be fully managed by it. It effectively just grabs the current RoomMember, calls the correct function then discards it so that we don't end up trying to access an already deleted state event.

(cherry picked from commit 11fd4f88)

a2a8ad09 Create NeochatRoomMember as a shim for RoomMember so it can be safely passed to QML 0867eef5 Fix showAuthor 0f72ccd0 Mamange the creation of NeochatRoomMembers and only create one per member rather than event. dba88fe2 REmove getAuthor as no longer needed 4e3a61d1 Update include 32d4d9f7 Pass NeochatRoomMembers rather than RoomMembers to menus 8e4b2034 Don't leak memory c2f2bb26 Fix code component regression. 5aee89be Make sure the sender Id is intialised properly for pending events c10c2677 Tweak intialisation b3146034 Make sure event objects are created for new pending events e4fab6d9 Pass an empty NeochatRoomMember when not in the map

Co-authored-by: James Graham james.h.graham@protonmail.com

Merge request reports

Loading