Jonas Schäfer
a8ce138dd2
XEP-0410: set not-in-the-room error condition to not-acceptable
...
XEP-0410 demands that. This changes the error condition for all
pings to the room, even those which aren’t self-pings, if the
sender is not joined.
The conditions of XEP-0410 were based on observing existing
implementations.
2019-08-20 21:42:43 +02:00
Jonas Schäfer
b68f36056d
XEP-0410: implement server-side optimisation for self-pings
...
This prevents the ping from round-tripping through IRC and
possibly a random other client of the user. Please see XEP-0410
for the rationale.
Fixes #3385 .
2019-08-20 21:42:43 +02:00
Jonas Schäfer
3621458d3f
Do not send the IRC host directly as real JID of the user
...
Fixes #3381
2018-10-04 20:16:17 +02:00
Jonas Schäfer
c6749ecce0
Make comment more precise
2018-10-03 20:31:50 +02:00
Jonas Wielicki
b490ba6e56
Make SetDesc static
2018-07-27 23:06:48 +02:00
Jonas Wielicki
4953f7baa5
Fix incorrect setting of field description in Ad-Hoc config forms
...
The description has to be a child element of the field, not an
attribute.
2018-07-27 23:06:48 +02:00
Jonas Wielicki
e1c7a6518a
Actually free the database on Database::close()
...
.release() returns the pointer and releases ownership *without*
destruction.
2017-12-02 20:08:50 +01:00
Jonas Wielicki
58f78f31e6
Make destructor of DatabaseEngine virtual
2017-12-02 20:08:50 +01:00
Jonas Wielicki
14dcc57a19
Make destructor of Statement virtual
...
I got an ASAN error otherwise (type mismatch)
2017-12-02 20:08:50 +01:00
Jonas Wielicki
4f7ad3f985
Support for full postgresql URIs
...
(cf. https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING )
2017-12-02 20:08:50 +01:00