问题标签 [jsjac]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
534 浏览

angularjs - AngularJS XMPP 获取名册

我正在使用 XMPP JSJAC 库和 AngularJS 编程聊天应用程序。我可以连接到服务器,但它没有列出名册。

应用程序.js

XMPPService.js

如果该功能除非服务来自名册列表。

0 投票
0 回答
141 浏览

xmpp - 从 openfire 下载整个群聊历史

openfire用作聊天服务器和JsJac聊天 Web 应用程序的客户端库。JsJac 与一对一聊天和群聊工作正常。我在 openfire 中添加了用于消息归档的监控插件。现在我想要下载整个群聊历史的功能。

问题:是否可以使用 JsJac 下载整个群聊,或者有其他更好的方法吗?

谢谢

0 投票
0 回答
80 浏览

xmpp - User session termination issue

I implement XEP-0199 ping request to the server. Every 30 seconds, it sends whitespace ping request to the server. The server will be properly responded to this request. But I got some session termination issues from Openfire server. When I check open fire logs, I got the message is like

2017.08.08 07:41:32 org.jivesoftware.openfire.http.HttpSessionManager - Closing idle session: 97xxxxx27@xxxx.xxxxx/Jappix (1502188314211).

Because of this issue message delivery is failed

0 投票
0 回答
35 浏览

c# - 有没有办法直接从 sql 加载文件,我需要一种方法用 sql 中的其他图像替换图像

我在 SQL Server 数据库中有一个模板 word 文件,我需要更改它的总和文本。我尝试先将文件下载到临时文件,然后将其加载到我的代码中。有没有一种方法可以将文件直接加载到我的代码中我使用这个(首先将文件保存到驱动器)之后我需要用数据库中的其他图像更改图像。

下载方法