Don't duplicate contacts in the demo protocol when reconnecting

Review Request #2436 — Created April 12, 2023 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Previously, we were always creating new contacts and persons on connection. This
ends up with duplicates when we run the connection error actions which is
obviously not what we want.

Ran the connection error actions and verified that we did not get duplicate contacts and persons.

Commits

Files