I wont comment on how to do shares part, but the problems one might have
to get it working correctly.

Ok, lets imagine we are at 2 adc hubs with a same user, different shares in 
each hubs.
user takes the list from hub1, he gets it just fine and its a correct one,  BUT 
here comes the problem:
he then takes list from hub2, he will get the same list as before (from hub1), 
it will use the same userconnection that started from hub1, because the user is 
considered to be the same if he has the same CID.

So either the client should have Hub spesific userconnections, or the 
connection reguest should be bind to a hub somehow.
One solution might be to send mySID in the GET reguest when reguesting a 
filelist from users,
so uploader could then update connection to right hub.
CGET list / 0 -1 ID*mySID*

for responding to File upload reguests we could just use CID to find all the 
same hubs with the user and then decide to give it or not,
he could get them anyway if they are shared even in one of the hubs.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/689460

Title:
  Different share for different hubs

Status in DC++:
  Confirmed

Bug description:
  A long-awaited feature is that the user should be able to define
  different shares for different (adc) hubs. This should be implemented.

  I can imagine several ways to do it:

  1) Define share on per-hub in favorites. This seems to be a not-too-good idea.
  2) Since now we have "hub groups", we could invent "group share" which would 
let the user to define custom share for a group. In this case we should disable 
the "customize share for this group" switch if there are NMDC hubs in the group 
and we should disable the possibility to move an NMDC hub to a group with a 
customized share (this would eliminate future bug reports).
  3) Moving from 2) a little bit further, the "group property page" could 
contain some other settings too which could be customized per-group favor, like 
a "profile" page with default nick for a group, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/689460/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to