# File protocol.rb, line 351 def Presence.gen_accept_subscription(id, jid) p = Presence.new(id) p.type = "subscribed" p.to = jid p end