Comments (6)
I asked for this feature before, but i was told that the partyline-module/-code isn't that easy to change to achieve a bufferfunction
from znc.
If that's the case, adding some kind of error feedback when messaging offline users on the partyline would make it less of a blackhole.
from znc.
I'm rather wondering why all these issues are being referenced by Issue #94. Anyways, I would love this, either one of these solutions. I'll see if I can code an error into partyline.cpp, but I haven't been doing much coding for rather a long time, and I'm not very good at it. Another solution would be to have logged off users disappear entirely from the partyline.
Edit: try replacing lines 411-422 of partyline.cpp (starts/ends the same) with the code below. New lines are not indented. This should return a 403 numeric and a message that the user is not attached . Also, I would like to recommend that you not use the connected irc server to return the numerics, if that doesn't break rfc or clients, though I left it that way to match the other code.
if (pUser) { if(pUser.isUserAttached()) { for (vector::const_iterator i = pUser->GetNetworks().begin(); i != pUser->GetNetworks().end(); ++i) { CIRCNetwork* pNetwork = *i; pNetwork->PutUser(":?" + m_pUser->GetUserName() + "!" + m_pUser->GetIdent() + "@" + sHost + " " + sCmd + " " + pNetwork->GetIRCNick().GetNick() + " :" + sMessage); } for (vector::const_iterator i = pUser->GetUserClients().begin(); i != pUser->GetUserClients().end(); ++i) { CClient* pClient = *i; pClient->PutClient(":?" + m_pUser->GetUserName() + "!" + m_pUser->GetIdent() + "@" + sHost + " " + sCmd + " " + pClient->GetNick() + " :" + sMessage); } } else { m_pClient->PutClient(":" + GetIRCServer(m_pNetwork) + " 403 " + m_pClient->GetNick() + " " + sTarget + " :znc user: " + sNick + " is not attached."); } } else { m_pClient->PutClient(":" + GetIRCServer(m_pNetwork) + " 403 " + m_pClient->GetNick() + " " + sTarget + " :No such znc user: " + sNick + ""); }
from znc.
Can someone provide a link to an explanation why the it's not possible to log private messages (and therefore partylines)? What would have to be done to change that?
from znc.
Private messages do come through in the query buffer. If partyline messages should be buffered, where should this go? Which network of the users?
from znc.
I am new to ZNC so I am not shure if I understand you right. Yes, the partyline channels are on 'no network', but I dont understand why this makes a difference (i would say "just call the network 'localhost' or 'znc'" but that sounds too easy).
Basically the partyline module makes it possible to have 'internal' channels and I would like them to behave like 'normal' channels (or understand why it's not possible). The only other solution I see right now would be using an IRC server listening on localhost instead of the partyline module (which really sounds like overkill).
I just tested it again (using the version in ubuntu packages, so maybe thats an issue):
- If I reconnect to ZNC with my client, all regular channels (ie on EFnet) > buffer playback.
- If do the same with a 'partyline' channel > no buffer playback.
I am using the savebuff module (which does the playback?) plus the away module to catch private messages.
from znc.
Related Issues (20)
- Add OpenID Connect support HOT 3
- Add some way to bypass channel mode cache (or just remove it) HOT 6
- Feature request: ability to disable the "The channel could not be joined, disabling it" behavior HOT 1
- Client connecton stalled after CAP ACK HOT 3
- Portainer Add Template > ZNC - no login
- Add Security Headers to webadmin HOT 5
- Cannot load python modules via webadmin w/ Debian 12/Python 3.11.x/znc-1.9.x HOT 2
- can't remove some channels from chansaver HOT 5
- Reconnecting too fast HOT 6
- Missing `RPL_TOPICWHOTIME` from server results in incorrect `RPL_TOPICWHOTIME` sent to client
- Update the Copyright notice
- Perform /timer unknown command HOT 3
- Watch module ZNC HOT 7
- Missing : in PASS command
- Likely race condition in build system related to `generated.tar.gz` HOT 3
- identd and identfile doeset works HOT 10
- Cannot add/edit networks through Webui "The requested module does not acknowledge web requests" HOT 6
- Expired Certificate for wiki.znc.in HOT 4
- listsockets printing 1970's dates. HOT 4
- return znc.HALTCORE ignored in OnJoinMessage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from znc.