mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 18:53:12 +02:00
doc: add value -1 for notify level in function hook_line (plugin API reference)
This commit is contained in:
@@ -9675,6 +9675,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
|
||||
"my_connect_cb", "")
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
==== hook_line
|
||||
|
||||
_WeeChat ≥ 2.3._
|
||||
@@ -9803,6 +9804,7 @@ Line data sent to the callback is a hashtable, with following values
|
||||
`+1+`
|
||||
|
||||
| notify_level |
|
||||
"-1" = no notify +
|
||||
"0" = low level +
|
||||
"1" = message +
|
||||
"2" = private message +
|
||||
@@ -9882,7 +9884,7 @@ in this hashtable):
|
||||
The values of `notify_level` and `highlight` are updated accordingly.
|
||||
|
||||
| notify_level |
|
||||
Integer ("0" to "3"). |
|
||||
Integer ("-1" to "3"). |
|
||||
N/A. |
|
||||
The notify level is set to this value. The hotlist will be updated
|
||||
accordingly once the line is added in the buffer. +
|
||||
|
||||
Reference in New Issue
Block a user