danvratil / harbour-sailslack

Unofficial Slack client for Sailfish OS
GNU General Public License v3.0
4 stars 4 forks source link

Basic Thread support #22

Closed b100dian closed 3 years ago

b100dian commented 3 years ago

This is basic thread support based on thread_ts == timestamp being the criteria for a 'thread starter' message. When a new message with thread_ts != timesptamp is received it goes into a separate storage.threadMap/threadMessageMap. You can start a thread by long clicking on a message. The not-yet-existing thread is marked as 'transient' until an actual reply gets in / is sent. You can view a thread by clicking on a message that has "replies: x" underneath.

This PR includes basic message updated support (so it does not append the message).