'returns the subreddits for a list of links. it also preloads the
permissions for the current user.'

@classmethod
def load_subreddits(cls, links, return_dict=True, stale=False):

    srids = set((l.sr_id for l in links if (getattr(l, 'sr_id', None) is not None)))
    subreddits = {}
    if srids:
        subreddits = cls._byID(srids, data=True, stale=stale)
    if (subreddits and c.user_is_loggedin):
        SRMember._fast_query(subreddits.values(), (c.user,), ('moderator',), data=True)
    return (subreddits if return_dict else subreddits.values())
