mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
BF: Show "Bob invited you" in recents when Bob invites the user
This commit is contained in:
parent
6baaa18224
commit
c407ed070c
@ -16,7 +16,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="recentsRoomSummary">
|
<td colspan="2" class="recentsRoomSummary">
|
||||||
|
|
||||||
<div ng-hide="room.membership === 'invite'" ng-switch="room.lastMsg.type" >
|
<div ng-show="room.membership === 'invite'">
|
||||||
|
{{ room.lastMsg.inviter | mUserDisplayName: room.room_id }} invited you
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-hide="room.membership === 'invite'" ng-switch="room.lastMsg.type">
|
||||||
<div ng-switch-when="m.room.member">
|
<div ng-switch-when="m.room.member">
|
||||||
<span ng-if="'join' === room.lastMsg.content.membership">
|
<span ng-if="'join' === room.lastMsg.content.membership">
|
||||||
{{ room.lastMsg.state_key | mUserDisplayName: room.room_id}} joined
|
{{ room.lastMsg.state_key | mUserDisplayName: room.room_id}} joined
|
||||||
|
Loading…
Reference in New Issue
Block a user