Skip to content

Commit

Permalink
add await for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ereio committed Dec 16, 2020
1 parent 5e3a64f commit 222eccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/Flutter/.last_build_id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9d5105d4c4a3b343276bbd9fb40da225
2bf2ac012f4e7616c95ee0f58edbde23
3 changes: 2 additions & 1 deletion lib/store/rooms/actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ ThunkAction<AppState> syncRooms(Map roomData) {
await store.dispatch(
setUsers(room.usersNew),
);
store.dispatch(

await store.dispatch(
setMessageEvents(room: room, messages: room.messagesNew),
);

Expand Down

0 comments on commit 222eccc

Please sign in to comment.