#1123 API idea: module:get_session(jid)

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Enhancement
  • Priority-Medium
  • Status-New
  1. Zash on

    Description of feature: module:get_session("host") → _G.prosody.hosts["host"] module:get_session("user@host") → _G.prosody.bare_sessions["user@host"] module:get_session("user@host/res") → _G.full_sessions["user@host/res"]

New comment

Not published. Used for spam prevention and optional update notifications.