Bug Fix - Read marker: when being kicked, the "Jump to first unread message" shouldn't be displayed

#1338

+ Remove the link to the room settings in the title view after leaving the room
This commit is contained in:
Giom Foret
2017-06-23 15:09:43 +02:00
parent 0595fbe4d5
commit 25a06ab8a7
+8
View File
@@ -856,6 +856,14 @@
{
[self showExpandedHeader:NO];
// Force a simple title view initialised with the current room before leaving actually the room.
[self setRoomTitleViewClass:SimpleRoomTitleView.class];
self.titleView.editable = NO;
self.titleView.mxRoom = self.roomDataSource.room;
// Hide the potential read marker banner.
self.jumpToLastUnreadBannerContainer.hidden = YES;
[super leaveRoomOnEvent:event];
}