1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 02:46:36 +01:00

Make little action indicators on each output line configurable.

Also added a new DISCONNECTION line info type.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang
2015-02-08 07:49:05 -05:00
parent 5cbbb62ce2
commit 38a0f6fae4
10 changed files with 119 additions and 13 deletions

View File

@@ -505,7 +505,7 @@ static void groupchat_onGroupNamelistChange(ToxWindow *self, Tox *m, int groupnu
case TOX_CHAT_CHANGE_PEER_DEL:
event = "has left the room";
line_info_add(self, timefrmt, (char *) oldpeername, NULL, CONNECTION, 0, RED, event);
line_info_add(self, timefrmt, (char *) oldpeername, NULL, DISCONNECTION, 0, RED, event);
if (groupchats[self->num].side_pos > 0)
--groupchats[self->num].side_pos;