sha512sum
sha512sum commented on pull request Larra/larra#3 2024-11-19 14:03:04 +00:00
WIP: proxy_support

Meaningless comments, variable names reflect what they contain. No need to duplicate. And use English for comments in code

sha512sum commented on pull request Larra/larra#3 2024-11-19 14:03:04 +00:00
WIP: proxy_support

Why commented in commit ?

sha512sum suggested changes for Larra/larra#3 2024-11-19 14:03:04 +00:00
WIP: proxy_support
sha512sum commented on pull request Larra/larra#3 2024-11-19 13:38:00 +00:00
WIP: proxy_support

Still no proxy using in ClientCreateVisitor

sha512sum commented on pull request Larra/larra#4 2024-11-19 13:33:46 +00:00
Features: iq::Bind and iq::Roster

Why std::string and not a more limited type like Jid ? For get or set use FullJid for from and BareJid in to, and in response or error make FullJid be in to and BareJid in from.

sha512sum suggested changes for Larra/larra#4 2024-11-19 13:33:46 +00:00
Features: iq::Bind and iq::Roster
sha512sum commented on pull request Larra/larra#4 2024-11-19 13:20:28 +00:00
Features: iq::Bind and iq::Roster

I tried, but roster result should has 'jid' attr, while with Serialization with BareJid I got <NO_NAME username="n" server="s" >

Expected ResultRoster

<iq…
sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:29 +00:00
Features: iq::Bind and iq::Roster

For what?

sha512sum suggested changes for Larra/larra#4 2024-11-18 07:10:29 +00:00
Features: iq::Bind and iq::Roster
sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:29 +00:00
Features: iq::Bind and iq::Roster

A comment that doesn't explain anything and just repeats the code.

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:29 +00:00
Features: iq::Bind and iq::Roster

Why not range based for?

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:29 +00:00
Features: iq::Bind and iq::Roster

You can create a structure that contains jid as an attribute and use automatic generation of serialization and deserialization

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

Why? It was more readable before.

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

For what?

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

Why not just throw all the necessary elements through the vector constructor in Roster constructor?

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

Extra copying if there is an rvalue. Better to forward depending on the type with which it is called.

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

EXPECT_EQ and test content

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

You can create a structure that contains jid as an attribute and use automatic generation of serialization and deserialization

sha512sum commented on pull request Larra/larra#4 2024-11-18 07:10:28 +00:00
Features: iq::Bind and iq::Roster

Code left in the comment

sha512sum suggested changes for Larra/larra#3 2024-11-17 13:35:36 +00:00
WIP: proxy_support

No proxy using in ClientCreateVisitor