From a5df61cbc097d000a7dc68e7da19901cdea28567 Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Tue, 12 Feb 2013 18:08:07 +0000 Subject: [PATCH] Include @ and . to the recorded file name. Patch provided by Hristo Terezov. --- .../java/sip/communicator/impl/gui/main/call/RecordButton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/java/sip/communicator/impl/gui/main/call/RecordButton.java b/src/net/java/sip/communicator/impl/gui/main/call/RecordButton.java index 050b6d1af..49e5d5329 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/RecordButton.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/RecordButton.java @@ -236,7 +236,7 @@ private String getCallPeerName(int maxLength) if (callPeer != null) { peerName = callPeer.getDisplayName(); - peerName = peerName.replaceAll("[^\\da-zA-Z\\_\\-]",""); + peerName = peerName.replaceAll("[^\\da-zA-Z\\_\\-@\\.]",""); if(peerName.length() > maxLength) { peerName = peerName.substring(0, maxLength);