From d70245c8870426382959d9d23199a34e72fc7aa5 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 22 Sep 2013 01:26:40 +0100 Subject: Fixe rejoining room after nickname conflict fixes #241 --- src/profanity.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/profanity.c') diff --git a/src/profanity.c b/src/profanity.c index b18cbe91..bcb59395 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -196,6 +196,11 @@ prof_handle_error_message(const char *from, const char *err_msg) } else { cons_show_error("Error received from server: %s", err_msg); } + // remove the room from muc + Jid *room_jid = jid_create(from); + muc_leave_room(room_jid->barejid); + jid_destroy(room_jid); + } else { cons_show_error("Error received from server: %s", err_msg); } -- cgit 1.4.1-2-gfad0 ='branches'> Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_ping.c
blob: ecbbfee10e1cd9332ffe1f0bbc3de7ebeda98c43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57