Direct invitation or simple msg stanza doesn't get sent through openfire if connected to room using muc - openfire

We are trying to build a chat application in MVC using strophe.js.
We have created a chat room using rest api and want another user to join the room.
We tried to send a direct invitation using below code. but somehow, stanzas are not getting generated and sent. even no error is thrown.
Even, we tried to send a simple message to another user. but that also doesn't show up in network panel in firefox or reach to another user.
We have added other user to the roster and vice versa with both subscription. but somehow, none of the messages get sent.
We added mediated invitation before this stanza. it gets sent; I mean no error is received. but doesn't get received on another end.
could it be, we are using an old version of strophe.js? we are using one from professional XMPP book source code.
we actually tried very latest from GitHub. but then also there was no luck
will appreciate any help! thanks in advance
XMPPComm.connection.send($msg({
from: XMPPComm.User_Id,
to: to + '#servername'
})
.c('x', {xmlns: "jabber:x:conference",jid: RoomId
}));
var message = $msg({
to: to + 'servername',"type": "chat" })
.c('body').t('Room Joining invitation by sachin ,' + RoomId).up()
.c('active', { xmlns: "http://jabber.org/protocol/chatstates" });
somehow, our chat on existing chat room created works fine.
Regards,
pravin

Related

Display user name on remote videos on Group chatting, Raise hand feature on Group chatting

We have integrated agora rtc for group video chatting using vue js. Would like to display corresponding user name on remote videos . I am unable pass user name custome property through stream as like userid. How to solve this issue. is there any way to pass custom object to send through stream to remote users.
Raise hand feature also need to do. How to do .
Could you help me
I'd recommend using the Agora RTM SDK for your use case. It lets you send messages to other users.
Using RTM whenever you join an RTC channel you can send a channel message to RTM with your name. That way other users can receive and display your name.
For raise hand, you can send a message with a request (eg: {"raise": "true"}), the remote user can then accept/reject the request and send the corresponding message back. If accepted you, you read the message and unmute the local user using RTC method.
You can find a quickstart app for RTM here.

Chat Conversion Not Displayed in View - QuickBlox iOS Setup

Chat conversion not become visible after I changed my QuickBlox account. Before developer has setup chatting for my iOS application with his personal QuickBlox account so I require to switch it with my company QuickBlox account and later on I can do purchase of plans without any barrier.
After this change actual send messages didn't become visible on both side devices before this was working properly after my account change it get stopped in working. I was getting few errors on log related to this so please check:
Though multiple users get created in account so definitely connection with QuickBlox has been establish as per my thinking but message passing not working.
In chatting view, I have sent many messages but nothing appear on screen, remain as it is blank.
After spending 2 days with this problem, I found solution for this problem. Posting here as an answer so that other users will not consume more time for this problem.
At QuickBlox dashboard, you have to enable retrieve users list permission so that other user can get list of others information. By default this flag set to disable so you have to enable it. Here is screenshot for the same:

IOS implementation of simple messaging system (client/server) between clients

i've been looking around to find a simple library or a client/server sample code for implementing a messaging system between users of my IOS clients app and a REST server. I would need that each user has an incoming and sent messages view. This view would display the conversations grouped by user. For example, using a table view where each cell represent a thread between the 2 distinct users, selecting a user's conversation it would push a new view that would display all the messages between the two users.
I have to say that i didn't found much, this is a mix of libraries and front ends:
an XMPP objective-c library: https://github.com/robbiehanson/XMPPFramework, but i don't really want an IM behavior
Acani chat, https://github.com/acani/AcaniChat seems promising but waiting for the acani chat server, i could use the front end
another chat https://github.com/honcheng/iOS-nodechat
MailCore, an IMAP api for objective-c: https://github.com/mronge/mailcore . i would need to relay on a mail server, create emails for each user and ... too much!
too bad there isn't any iMessage API
dont want to send a SMS or an email
push notification it's not a must to start
maybe coding a simple REST service for publishing and retrieving messages to and from a user would be the best approach? i'm i missing something?
thanks!!

Mailchimp API (v1.3): addresses added with listSubscribe() don't appear in dashboard

I'm using Mailchimp's API (v1.3) to add email addresses to a subscriber list on one of our sites. Obviously, I'm using listSubscribe() and everything is working fine, for the most part (read: API call returns true, all of the data I'm sending to Mailchimp gets added/updated correctly).
The problem, however, is that whenever a new address is added, the things that are normally supposed to happen (in particular: email notifications to list manager, addresses showing up in the dashboard list status stream) aren't happening.
I've looked around for quite a bit and haven't found anyone with the same issue. Any ideas?
The default action of listSubscribe to add a subscriber is opt-in. This means that when you submit a listSubscribe the subscribed user will get an email asking to confirm their opt-in.
If the user does not follow the link in the email then they will not appear in the dashboard.
You can bypass this by using:
'double_optin' => FALSE,
http://apidocs.mailchimp.com/api/1.3/listsubscribe.func.php
However this is only recommended for very occasional circumstances (essentially where you are handling the opt-in).
In my case I am not activating a user account until they verify their email address. If let the opt-in email be sent then the user is going to get a number of emails from my web app. I'm being very careful to make sure that they're verifying their subscription and all subscription stuff is being processed by the web app (eg a user unsubscribes within the web app, not via MailChimp).
I talked to the Mailchimp support, and they said those actions won't happen using their public API; there is no way to trigger them.

In redmine how do I Send notification with new issue id to sender of email that created the issue

I have Redmine set to create issues on incoming email - unkown_user=create. I would like to send the user an email confirming receipt of the issue with the new issue id. Is there a way to do this?
On a related note, while the user is getting created in Redmine the new user does not get any notification on the account creation.
Notification to existing users work.
TIA
There is no confirmations on incoming emails. I am working on this for a client and we will be adding it to ChiliProject once it's ready (few minor bugs left). If you wanted to look at the code, I have it in a branch on github.
To answer your second question, the MailHandler doesn't notify new users when they are created. It would be a simple feature to add since the mailer code is already done. Basically add a Mailer.deliver_account_information().