From ee9ca24f8726009f78a2e192b9d29c6e57bac45d Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 22 May 2020 16:42:20 +0200 Subject: Log all carbon copied messages So far we only had the logging in sv_ev_incoming_carbon() not sv_ev_outgoing_carbon(). Regards https://github.com/profanity-im/profanity/issues/1342 --- src/event/server_events.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/event') diff --git a/src/event/server_events.c b/src/event/server_events.c index 153618f2..c1f7b90e 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -452,6 +452,7 @@ sv_ev_outgoing_carbon(ProfMessage *message) } else { chat_log_msg_out(message->from_jid->barejid, message->plain, NULL); } + log_database_add_incoming(message); } #ifdef HAVE_LIBGPGME -- cgit 1.4.1-2-gfad0 tion value='hlt'>hlt Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/update_html
blob: 85475325c975c5cd825847c53ec3aae672707eff (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101