Michael Vetter
dd8086772d
xep-0308: create setting to toggle lmc
...
and print settings if only `/correction` is run.
2020-02-10 14:52:42 +01:00
Michael Vetter
f16d56a15e
xep-0308: Initial support for incoming LMC
2020-02-10 13:19:54 +01:00
Michael Vetter
46fd7150e5
Add vim modeline
2019-11-13 12:11:05 +01:00
Michael Vetter
33083662d1
Add XEP-0359 to capabilities
...
We implement </origin-id> from [XEP-0359](https://xmpp.org/extensions/xep-0359.html ).
We already had this implemented for OMEMO. And now use it to check
whether MUC messages were sent from us
(https://github.com/profanity-im/profanity/issues/1201 ).
We don't implement </stanza-id> yet, but probably need to do so for MAM.
Anyways let's flag this as implementing the XEP.
Fix https://github.com/profanity-im/profanity/issues/1207
2019-10-18 10:46:06 +02:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
2b7894ccff
Remove status from cl_ev_presence_send
...
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
9796b23cfd
Use caps_lookup when checking for feature
2016-09-25 22:57:43 +01:00
James Booth
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
71dcb2e427
Only include lastactivity feature in disco responses when enabled
2016-08-18 00:29:33 +01:00
James Booth
4de570b1ee
Only include receipts feature in disco responses when enabled
...
issue #829
2016-08-18 00:10:15 +01:00
James Booth
41acaee955
Use hashtable to store profanity disco features
2016-08-17 23:49:20 +01:00
James Booth
7b22c813c8
Copy feature strings on caps_get_features
2016-08-17 23:32:43 +01:00
James Booth
8b6549b36c
Add caps_create
2016-08-14 01:06:13 +01:00
James Booth
b26c961730
Move caps_create -> stanza_create_caps_from_query_element
2016-08-14 00:15:03 +01:00
James Booth
d5f14abd4e
Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query
2016-08-14 00:07:08 +01:00
James Booth
9c4e02db77
Move caps static functions
2016-08-13 23:53:41 +01:00
James Booth
e776ef9b68
Rename caps_contains -> caps_cache_contains
2016-08-13 23:45:58 +01:00
James Booth
9cecef5609
Move caps_create_query_response_stanza -> stanza_create_caps_query_element
2016-08-13 23:43:54 +01:00
James Booth
9ce59b1589
Free DiscoIdentity and SoftwareVersion
2016-08-13 17:49:19 +01:00
James Booth
ed75f1ec71
Use SoftwareVersion in EntityCapabilities
2016-08-13 17:43:43 +01:00
James Booth
0bd5b5200a
Use DiscoIdentity in EntityCapabilities
2016-08-13 17:19:24 +01:00
James Booth
80eb5bee90
Rename Capabilties -> EntityCapabilities
2016-08-13 16:39:25 +01:00
James Booth
e949114284
Reduce variable scope in caps_create_sha1_str
2016-08-13 16:21:25 +01:00
James Booth
6ec159737b
Use list for profanity service discovery features
2016-08-12 22:25:35 +01:00
James Booth
a65403c54a
Remove disco features added by plugins on unload
2016-08-11 23:20:59 +01:00
James Booth
a3a73cf003
Move all filepath handling to files.c
2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b
Move xgd functions
2016-07-24 17:12:09 +01:00
James Booth
ef942bd27a
Add config/files.c
2016-07-24 16:22:15 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
feb50ea411
capabilities: use free instead of g_free
2016-07-18 22:32:58 +01:00
James Booth
a2efda19cc
Merge remote-tracking branch 'pasis/const-char'
2016-05-01 00:39:16 +01:00
James Booth
623fbe9e47
Plugins: Added prof_disco_add_feature()
2016-04-30 23:00:07 +01:00
Dmitry Podgorny
efbf233c85
Define stanza's attributes as const char*
...
In most get-like funcitons libstrophe returns pointer to a string
that resides in an internal structure (e.g. xmpp_stanza_t). Hence,
Profanity must not change such strings. Define respective variables
as 'const char*' to reduce a chance of error and conform future
libstrophe's interface.
This patch mostly replaces 'char *' with 'const char*', but also
fixes two memory leaks after stanza_get_reason(). Add comment within
stanza_get_reason() to fix conflict with different allocator types.
2016-04-27 10:31:28 +00:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
1f90aca503
Merge branch 'master' into plugins-c
...
Conflicts:
src/main.c
src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
c8a6bdb381
Applied coding style to src/xmpp/
2015-10-26 00:14:23 +00:00
James Booth
1afe492e30
Added jabber:iq:last to capabilities
2015-09-29 23:55:01 +01:00
James Booth
2b88e2f1bf
Check for libmesode, fall back to libstrophe
2015-09-21 21:40:04 +01:00
James Booth
03ee1d56e6
Added conference and receipts features to caps query response
2015-09-09 22:36:07 +01:00
James Booth
067ad7fa2c
Use null check convention in capabilities.c
2015-05-04 23:15:15 +01:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
50601d4db3
Removed strdup calls when creating capabilities
2015-02-09 21:36:04 +00:00
James Booth
9d94ac5c63
Removed function pointers
2014-12-22 22:13:42 +00:00
James Booth
94bd9dbdfe
Store capabilities against fulljid when unsupported hash
2014-11-27 01:08:02 +00:00
James Booth
bb3f1b0909
Set file permissions for logs
2014-10-18 21:41:39 +01:00