mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 19:23:13 +02:00
core: add unique "id" in nicklist group and nick (issue #2081)
The id is a "long long" variable with the current time (microseconds precision). It is guaranteed to be unique for all groups and nicks inside the buffer, and the same number is never used again in the same buffer, during the lifetime of the process. It persists and is unchanged after `/upgrade`.
This commit is contained in:
@@ -94,6 +94,7 @@ IMPORT_TEST_GROUP(GuiInput);
|
||||
IMPORT_TEST_GROUP(GuiKey);
|
||||
IMPORT_TEST_GROUP(GuiLine);
|
||||
IMPORT_TEST_GROUP(GuiNick);
|
||||
IMPORT_TEST_GROUP(GuiNicklist);
|
||||
/* GUI - Curses */
|
||||
IMPORT_TEST_GROUP(GuiCursesMouse);
|
||||
/* scripts */
|
||||
|
||||
Reference in New Issue
Block a user