File

teal-src/util/jid.d.tl @ 12022:eedd3eff0768

mod_pep: Set correct jid attr on node disco items It was previously set to the hostname, not the users bare JID which would be correct.
author Kim Alvefur <zash@zash.se>
date Tue, 07 Dec 2021 13:04:52 +0100
parent 11432:113f3912c7cb
line wrap: on
line source

local record lib
	split : function (string) : string, string, string
	bare : function (string) : string
	prepped_split : function (string, boolean) : string, string, string
	join : function (string, string, string) : string
	prep : function (string, boolean) : string
	compare : function (string, string) : boolean
	node : function (string) : string
	host : function (string) : string
	resource : function (string) : string
	escape : function (string) : string
	unescape : function (string) : string
end

return lib