aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/stanza_error.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-03-14 13:42:58 +0800
committerMarvin W <git@larma.de>2026-04-08 19:02:44 +0200
commit64757cbe2572259ad201f4c691aeb545088ae42a (patch)
tree6c3de38252417500ab1234687bd413e29dcc4d1b /xmpp-vala/src/module/stanza_error.vala
parent82da21c1a67d5a50d0a4940b5e3c687929b041c2 (diff)
Add implementation for XEP-0202 Entity Time
Diffstat (limited to 'xmpp-vala/src/module/stanza_error.vala')
-rw-r--r--xmpp-vala/src/module/stanza_error.vala3
1 files changed, 3 insertions, 0 deletions
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);
}