aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java')
-rw-r--r--src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java b/src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java
index 18a85f9..8da643e 100644
--- a/src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java
+++ b/src/net/java/sip/communicator/service/protocol/AbstractFileTransfer.java
@@ -127,6 +127,10 @@ public abstract class AbstractFileTransfer
*/
public void fireStatusChangeEvent(int newStatus)
{
+ // ignore if status is the same
+ if(this.status == newStatus)
+ return;
+
Collection<FileTransferStatusListener> listeners = null;
synchronized (statusListeners)
{