When the relay sends _buffer_cleared, we need to clear the buffer in weechat-android. This happens with some regularity with wee-slack, which will re-paint a buffer on reconnect or loading backlog from the server in a newly (re)-opened buffer. Currently this can result in duplicated or out of order messages in the buffer when the backlog is loaded.
When the relay sends _buffer_cleared, we need to clear the buffer in weechat-android. This happens with some regularity with wee-slack, which will re-paint a buffer on reconnect or loading backlog from the server in a newly (re)-opened buffer. Currently this can result in duplicated or out of order messages in the buffer when the backlog is loaded.
See https://github.com/mhoran/weechatRN/commit/497498135ca9f345a18224d6fe24a916314d02a3.