Don't allow duplicate tags in PurpleTags

Review Request #2053 — Created Nov. 9, 2022 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Originally I was thinking it might be useful to store counter objects in the
tags, but that adds a bunch of complexity to the serialization layer and tag
users can just get the existing tag, and then increment the value themselves.

Ran the unit tests.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Don't allow duplicate tags in PurpleTags
Originally I was thinking it might be useful to store counter objects in the tags, but that adds a bunch of complexity to the serialization layer and tag users can just get the existing tag, and then increment the value themselves.
7bcaf96239ba68a6146aefd9d3dd479dcb8ac0b4 Gary Kramlich
libpurple/purpletags.h
libpurple/purpletags.c
libpurple/tests/test_tags.c
Loading...