Fixes issue where previous group messages would be received before the
chat was registered, and therefore not displayed.