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

Bogdan Andrei IANCU noreply at github.com
Tue Jun 8 14:56:51 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 503814cdd735b9fadb625220f4d3826636c4cbf6
      https://github.com/OpenSIPS/opensips/commit/503814cdd735b9fadb625220f4d3826636c4cbf6
  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.

(cherry picked from commit eaa2fd6510f533c357e8536fcdf22cad6f455322)





More information about the Devel mailing list