From 64757cbe2572259ad201f4c691aeb545088ae42a Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 14 Mar 2026 13:42:58 +0800 Subject: Add implementation for XEP-0202 Entity Time --- xmpp-vala/src/module/stanza_error.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmpp-vala/src/module/stanza_error.vala') diff --git a/xmpp-vala/src/module/stanza_error.vala b/xmpp-vala/src/module/stanza_error.vala index 5e872291..1a69fd30 100644 --- a/xmpp-vala/src/module/stanza_error.vala +++ b/xmpp-vala/src/module/stanza_error.vala @@ -88,6 +88,9 @@ namespace Xmpp { public ErrorStanza.feature_not_implemented(string? human_readable = null) { this.build(TYPE_MODIFY, CONDITION_FEATURE_NOT_IMPLEMENTED, human_readable, null); } + public ErrorStanza.forbidden(string? human_readable = null) { + this.build(TYPE_AUTH, CONDITION_FORBIDDEN, human_readable, null); + } public ErrorStanza.item_not_found(StanzaNode? application_condition = null) { this.build(TYPE_CANCEL, CONDITION_ITEM_NOT_FOUND, null, application_condition); } -- cgit v1.3