Skip to content
  • Linus Jahn's avatar
    back-end: Add signals for asynchronous subscription handling · 38a2bd51
    Linus Jahn authored and Jonah Brüchert's avatar Jonah Brüchert committed
    The handling of incoming subscription requests can be done in QML, now.
    
    First the signal of an incoming subscription request is emitted (
    kaidan.subscriptionRequestReceived(from, message)), then the use can decide if
    they want to accept, decline or ignore the request. If they want to decline or
    accept it, the signal kaidan.subscriptionRequestAnswered(jid, accepted) should
    be emitted (accepted=true: allow, accepted=false: decline).
    38a2bd51