File

teal-src/util/struct.d.tl @ 12739:0dc80024fdd2

Backed out changeset 1bc2220cd6ec The use of the error helpers creates an `<error/>` child element containing the error condition. This is however not allowed as per XEP-0198, which specifies that the error condition is to be a direct child of the `<failed/>` stream management element. This has triggered a fun reconnect loop in aioxmpp where it was reported by a user [1]. [1]: https://github.com/horazont/aioxmpp/issues/382
author Jonas Schäfer <jonas@wielicki.name>
date Mon, 03 Oct 2022 12:55:11 +0200
parent 12619:d593cb709525
line wrap: on
line source

local record lib
	pack : function (string, ...:any) : string
	unpack : function(string, string, integer) : any...
	size : function(string) : integer
end
return lib