[OpenSIPS-Devel] [OpenSIPS/opensips] eaa2fd: [presence] Fix inconsistent handling of optional "...

Bogdan Andrei IANCU noreply at github.com
Tue Jun 8 14:46:45 EST 2021


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eaa2fd6510f533c357e8536fcdf22cad6f455322
      https://github.com/OpenSIPS/opensips/commit/eaa2fd6510f533c357e8536fcdf22cad6f455322
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  [presence] Fix inconsistent handling of optional "event_id" column

If no value, the event_id could end up with a NULL or "" value. This was failing the later update query (no match on the event_id value), resulting in broken subscription status after a re-subscribe.





More information about the Devel mailing list