mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
RoomViewController: progress text input saving is now handled at MatrixKit level.
This commit is contained in:
@@ -81,9 +81,6 @@
|
||||
}
|
||||
|
||||
if (self.roomDataSource) {
|
||||
// Store the potential message partially typed in text input
|
||||
self.roomDataSource.partialTextMessage = self.inputToolbarView.textMessage;
|
||||
|
||||
if (membersListener) {
|
||||
[self.roomDataSource.room removeListener:membersListener];
|
||||
membersListener = nil;
|
||||
@@ -97,10 +94,6 @@
|
||||
if (self.roomDataSource) {
|
||||
// Set visible room id
|
||||
[AppDelegate theDelegate].masterTabBarController.visibleRoomId = self.roomDataSource.roomId;
|
||||
|
||||
// Retrieve the potential message partially typed during last room display.
|
||||
// Note: We have to wait for viewDidAppear before updating growingTextView (viewWillAppear is too early)
|
||||
self.inputToolbarView.textMessage = self.roomDataSource.partialTextMessage;
|
||||
}
|
||||
|
||||
if (pushedViewController) {
|
||||
|
||||
Reference in New Issue
Block a user