Software /
code /
prosody
Annotate
teal-src/util/bitcompat.d.tl @ 12745:2cbf0e9314ff
mod_smacks: Change boolean attribute from '1' to 'true' for compatibility
Conversations 2.10.10 and earlier expect this to be literally 'true' and don't
recognise '1'. This leads to it not attempting resumption with Prosody at all
since this change was introduced in 36ba170c4fd0.
Thanks to Zash for noticing, debugging and diagnosing this issue.
This issue is fixed in Conversations commit 052c58f3 (unreleased at the time
of writing).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 07 Oct 2022 11:35:56 +0100 |
parent | 12620:09d86413c3c5 |
rev | line source |
---|---|
12620
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 band : function (integer, integer, ... : integer) : integer |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 bor : function (integer, integer, ... : integer) : integer |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 bxor : function (integer, integer, ... : integer) : integer |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 lshift : function (integer, integer) : integer |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 rshift : function (integer, integer) : integer |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 end |
09d86413c3c5
util.bitcompat: Add Teal type specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 return lib |