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

Bogdan Andrei IANCU noreply at github.com
Tue Jun 8 14:57:17 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 54c36ab9daa6415d86ef5949c7e765ed862162de
      https://github.com/OpenSIPS/opensips/commit/54c36ab9daa6415d86ef5949c7e765ed862162de
  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