-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stable IDs to dispatch notifications
Dispatching notifications using pointers is error prone, especially with wee-slack, which is very likely to reuse pointers when it reconnects. Stable IDs were introduced in 4.3.0 for buffers and 4.4.0 for lines, and remain stable throughout the lifetime of the weechat process (including upgrades.) The notification script has been updated to use stable IDs when supported. We fallback to the buffer pointer or line pointer as an integer when stable IDs are not available.
- Loading branch information
Showing
14 changed files
with
737 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.