Skype4Java 中的重复消息请求
Duplicate message requests in Skype4Java
我有这段代码,它可以工作,但有时它会向此人发送 2 条消息。
Skype.addChatMessageListener(new ChatMessageAdapter() {
public void chatMessageReceived(ChatMessage received) throws SkypeException {
if (received.getContent().equals("!server")) {
// Sender
received.getSender().send("Comando Em Manutenção");
}
})
如何解决这个错误?
这似乎是 known issue in Skype4Java。
另外,根据 author's comment, the project has been abandoned, but there is another one based on it: Skype Java API.
来自自述文件:
This project is a mavenization and release of Skype4Java
with
several bug fixes.
我有这段代码,它可以工作,但有时它会向此人发送 2 条消息。
Skype.addChatMessageListener(new ChatMessageAdapter() {
public void chatMessageReceived(ChatMessage received) throws SkypeException {
if (received.getContent().equals("!server")) {
// Sender
received.getSender().send("Comando Em Manutenção");
}
})
如何解决这个错误?
这似乎是 known issue in Skype4Java。 另外,根据 author's comment, the project has been abandoned, but there is another one based on it: Skype Java API.
来自自述文件:
This project is a mavenization and release of
Skype4Java
with several bug fixes.