[RoomList] Remove async

This commit is contained in:
Christian 2019-07-30 07:35:52 +00:00
parent 3094b73b02
commit cc850aa2d7

View file

@ -71,7 +71,7 @@ class RoomList {
roomSub ??= client.connection.onRoomUpdate.stream.listen(_handleRoomUpdate);
}
void _handleRoomUpdate(RoomUpdate chatUpdate) async {
void _handleRoomUpdate(RoomUpdate chatUpdate) {
// Update the chat list item.
// Search the room in the rooms
num j = 0;
@ -114,7 +114,7 @@ class RoomList {
sortAndUpdate();
}
void _handleEventUpdate(EventUpdate eventUpdate) async {
void _handleEventUpdate(EventUpdate eventUpdate) {
// Is the event necessary for the chat list? If not, then return
if (!(eventUpdate.type == "timeline" ||
eventUpdate.eventType == "m.room.avatar" ||