Commit Graph

13 Commits

Author SHA1 Message Date
Pascal Abresch 70899c8ec3 Fix 1:1 message authorship, remove second NewMessage function 2021-12-30 17:26:52 +01:00
Pascal Abresch e32893e27c Remove NewMessage() for group_chats 2021-12-30 17:14:15 +01:00
Pascal Abresch 12cf0986d6 Talkview.cpp: rename _chat and _message
No functional change intended
2021-12-22 19:23:39 +01:00
Adrien Destugues 447f91d80d Handle detection of highlighted messages outside of TalkView 2021-12-22 18:50:46 +01:00
Pascal Abresch c9b436db28 Fix sending with enter
Also helps slightly with the main window resizing
2021-10-21 12:55:11 +02:00
Pascal Abresch 21ad34618d Remove rest of logging from TalkView 2021-10-18 19:40:07 +02:00
Pascal Abresch 9eb068dd64 TalkView: remove logging 2021-10-18 19:22:10 +02:00
Pascal Abresch 19839ea08e Cleanup: Delete BetterTextView 2021-05-20 20:42:50 +02:00
Adrien Destugues 2fa1069b4f Fixup session/window creation code
- Remove some useless locking, use messages instead
- Sessions can be created locally (we need to do a new Session) or from
  incoming messages (the session is created for us but we still need to
  attach a window to it). The code was not handling all cases right
- Better detection of carbons or group chat replay sessions (not sure
  what they are but now we check the type to detect them)
2020-11-22 22:22:02 +01:00
Adrien Destugues 85db625968 Move some files from jabber/ to ui/
It helps to see which parts of the code are actively maintained
2020-08-21 19:43:43 +02:00
Adrien Destugues b16ffcc1ec Show MUC participants affiliation
Use IRC-style characters for now, but probably an icon would be better
2020-08-21 17:34:10 +02:00
Adrien Destugues be4e92ca48 Fix many things in TalkManager
Use separate maps for group and normal chat, saving much confusion.
Use gloox sessions and MUC rooms as keys instead of strings.
Remove linear lookups in the map (what's the point of having a map?)
Do not create a MessageSession for MUCs as it prevents getting messages
in the MUC handler

This should fix all cases where we would accidentally create multiple
windows for the same thing.
2020-08-21 15:42:59 +02:00
Adrien Destugues f9ce5c9c7f Start conversion to single window
With more than 3 windows, things become unmanageable.

Fixes #3
2020-08-21 14:08:17 +02:00