uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

uProxy artifacts showing up in gchat window

Open scouttle opened this issue 12 years ago • 6 comments

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

scouttle avatar May 15 '14 15:05 scouttle

https://github.com/freedomjs/freedom-social-xmpp/blob/master/src/socialprovider.js#L195

Changing this type to "normal" used to do the trick. I'm not sure why it was changed to "chat"

On Thu, May 15, 2014 at 8:16 AM, scouttle [email protected] wrote:

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

— Reply to this email directly or view it on GitHubhttps://github.com/uProxy/uProxy/issues/128 .

ryscheng avatar May 15 '14 15:05 ryscheng

I think it needs to be "chat" to send messages between different clients. I made that change because testing messaging between the chatdemo client and gtalk-within-web-gmail didn't work with type 'normal'.

In the uproxy case, we are always communicating between the same client, so 'normal' should be fine - it just means that nobody can re-use freedom-social-xmpp the way it is now for chatting between different clients (at least with gtalk)

On Thu, May 15, 2014 at 11:22 AM, Raymond Cheng [email protected]:

https://github.com/freedomjs/freedom-social-xmpp/blob/master/src/socialprovider.js#L195

Changing this type to "normal" used to do the trick. I'm not sure why it was changed to "chat"

On Thu, May 15, 2014 at 8:16 AM, scouttle [email protected] wrote:

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128> .

— Reply to this email directly or view it on GitHubhttps://github.com/uProxy/uProxy/issues/128#issuecomment-43223552 .

dborkan avatar May 15 '14 15:05 dborkan

Well it should be "normal" when sending messages to clients with status=="ONLINE" and type="chat" when talking to clients with status=="ONLINE_WITH_OTHER_APP"

On Thu, May 15, 2014 at 8:34 AM, dborkan [email protected] wrote:

I think it needs to be "chat" to send messages between different clients. I made that change because testing messaging between the chatdemo client and gtalk-within-web-gmail didn't work with type 'normal'.

In the uproxy case, we are always communicating between the same client, so 'normal' should be fine - it just means that nobody can re-use freedom-social-xmpp the way it is now for chatting between different clients (at least with gtalk)

On Thu, May 15, 2014 at 11:22 AM, Raymond Cheng [email protected]:

https://github.com/freedomjs/freedom-social-xmpp/blob/master/src/socialprovider.js#L195

Changing this type to "normal" used to do the trick. I'm not sure why it was changed to "chat"

On Thu, May 15, 2014 at 8:16 AM, scouttle [email protected] wrote:

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43223552> .

— Reply to this email directly or view it on GitHubhttps://github.com/uProxy/uProxy/issues/128#issuecomment-43225333 .

ryscheng avatar May 15 '14 15:05 ryscheng

Makes sense, I'll create a pull request with this change

On Thu, May 15, 2014 at 11:41 AM, Raymond Cheng [email protected]:

Well it should be "normal" when sending messages to clients with status=="ONLINE" and type="chat" when talking to clients with status=="ONLINE_WITH_OTHER_APP"

On Thu, May 15, 2014 at 8:34 AM, dborkan [email protected] wrote:

I think it needs to be "chat" to send messages between different clients. I made that change because testing messaging between the chatdemo client and gtalk-within-web-gmail didn't work with type 'normal'.

In the uproxy case, we are always communicating between the same client, so 'normal' should be fine - it just means that nobody can re-use freedom-social-xmpp the way it is now for chatting between different clients (at least with gtalk)

On Thu, May 15, 2014 at 11:22 AM, Raymond Cheng < [email protected]>wrote:

https://github.com/freedomjs/freedom-social-xmpp/blob/master/src/socialprovider.js#L195

Changing this type to "normal" used to do the trick. I'm not sure why it was changed to "chat"

On Thu, May 15, 2014 at 8:16 AM, scouttle [email protected] wrote:

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43223552> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43225333> .

— Reply to this email directly or view it on GitHubhttps://github.com/uProxy/uProxy/issues/128#issuecomment-43226169 .

dborkan avatar May 15 '14 15:05 dborkan

Cool! thanks Dan!

On Thu, May 15, 2014 at 8:49 AM, dborkan [email protected] wrote:

Makes sense, I'll create a pull request with this change

On Thu, May 15, 2014 at 11:41 AM, Raymond Cheng [email protected]:

Well it should be "normal" when sending messages to clients with status=="ONLINE" and type="chat" when talking to clients with status=="ONLINE_WITH_OTHER_APP"

On Thu, May 15, 2014 at 8:34 AM, dborkan [email protected] wrote:

I think it needs to be "chat" to send messages between different clients. I made that change because testing messaging between the chatdemo client and gtalk-within-web-gmail didn't work with type 'normal'.

In the uproxy case, we are always communicating between the same client, so 'normal' should be fine - it just means that nobody can re-use freedom-social-xmpp the way it is now for chatting between different clients (at least with gtalk)

On Thu, May 15, 2014 at 11:22 AM, Raymond Cheng < [email protected]>wrote:

https://github.com/freedomjs/freedom-social-xmpp/blob/master/src/socialprovider.js#L195

Changing this type to "normal" used to do the trick. I'm not sure why it was changed to "chat"

On Thu, May 15, 2014 at 8:16 AM, scouttle [email protected]

wrote:

When signed in to uProxy with Google credentials and also gchat, I'm seeing uProxy messages in the gChat window.

Observed when I was running the version Ray posted to the Chrome store on May 14th and Lucas was running a version off of dev; official numbers are Extension = 0.0.4, App = 0.1.7

––––––––––––––––– Example messages:

{"type":3000,"data":{"instanceId":"f8fa5bd55e8907e047a7882e906b2a6637d2fc65","keyHash":"aa:be:d1:8c:11:4a:01:bc:cc:2e:88:e4:30:80:34:0d:fb:ad:f4:80"}}

{"type":3000,"data":{"instanceId":"29395ae64a9ddd7247e5a20831641d84dff144a8","keyHash":"a8:14:b6:e7:47:f8:b2:3f:2a:e2:45:1e:78:98:09:8f:eb:00:b7:2f"}}

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43223552> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43225333> .

— Reply to this email directly or view it on GitHub< https://github.com/uProxy/uProxy/issues/128#issuecomment-43226169> .

— Reply to this email directly or view it on GitHubhttps://github.com/uProxy/uProxy/issues/128#issuecomment-43227410 .

ryscheng avatar May 15 '14 15:05 ryscheng

This is fixed now with pull request https://github.com/freedomjs/freedom-social-xmpp/pull/37

dborkan avatar May 15 '14 22:05 dborkan