Ensure final message before 'empty' is ready for notification (#1522)
Without this change, there's a race condition for the notification we show when we get the 'empty' event after a large backlog download. Four messages may have come in, but the last might not be notified. So the count shown would be three. And then, when the final message's notify() call finishes, another notification would be shown. FREEBIEpull/749/head
parent
10a38297b8
commit
38152042d5
Loading…
Reference in New Issue