Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show gateways like bots and sms items as mobile #1185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

singpolyma
Copy link
Contributor

No description provided.

@@ -32,8 +32,7 @@ public function roster()

public function capability()
{
return $this->hasOne('App\Info', 'node', 'node')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to check about that change. Wondering if the constraint was not required, do you really need to remove the "where" there ?

There is no index on that unique column, only on both:

"infos_server_node_unique" UNIQUE CONSTRAINT, btree (server, node)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing it seems that Info from a domain JID is stored with a non-null server column which is why this got removed, otherwise such a contact just never has any capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants