aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/xml')
-rw-r--r--src/eu/siacs/conversations/xml/TagWriter.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/TagWriter.java b/src/eu/siacs/conversations/xml/TagWriter.java
index c8294aedb..f06664fdd 100644
--- a/src/eu/siacs/conversations/xml/TagWriter.java
+++ b/src/eu/siacs/conversations/xml/TagWriter.java
@@ -75,4 +75,8 @@ public class TagWriter {
public boolean finished() {
return (this.writeQueue.size() == 0);
}
+
+ public boolean isActive() {
+ return outputStream != null;
+ }
}